#ifndef NEWITEMDIALOG_H
#define NEWITEMDIALOG_H

#include <QDialog>
#include <QLineEdit>
#include <QComboBox>
#include <QPushButton>

class NewItemDialog : public QDialog
{
    Q_OBJECT

public:
    explicit NewItemDialog(QWidget *parent = nullptr);
    ~NewItemDialog();

    QString getType() const;
    QString getId() const;
    QString getName() const;
    QString getDescription() const;

    void setId(const QString &id);
    void setName(const QString &name);
    void setDescription(const QString &description);

private:
    void setupUI();

    QComboBox *typeComboBox;
    QLineEdit *idEdit;
    QLineEdit *nameEdit;
    QLineEdit *descriptionEdit;
    QPushButton *okButton;
    QPushButton *cancelButton;
};

#endif // NEWITEMDIALOG_H